<template>
  <div class="tab">
    <icon-item v-for=' (v,index) in TabData' :key="index" :item='v' />
  </div>
</template>
<script>
import TabData from '@/datas/tab.js'
import IconItem from './iconitem.vue'
export default {
  name: 'tabpage',
  components: {
    IconItem
  },
  setup() {
    return {
      TabData
    }
  }
}
</script>
<style lang="less" scoped>
.tab {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 46px;
  border-top: 1px solid #ddd;
  box-sizing: border-box;
  display: flex;
  justify-content: space-evenly;
}
</style>
